package com.ruoyi.mongo.cet4;

import com.alibaba.fastjson2.JSONObject;
import com.ruoyi.common.utils.DataGroupByData;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

@Data
@Document(collection = "entity_expand4")
public class EntityExpand4 implements DataGroupByData {
    @Id
    private String _id; // MongoDB文档的ID，通常是ObjectId类型
    private String name; //
    private int group; //
    private String chinese; //
    private String voice; //
    private int number; //

    private String type; //
    private String meaning; //
    private String wordMeaning; //网络释义-拆分

    @Override
    public int getGroupByData() {
        return number;
    }
}
